import Vue from 'vue';
import App from './App.vue';
import router from './router';
import store from './store';
import 'normalize.css';
import './assets/font/iconfont.css';
import confirm from './components/common/confirm/index';
import message from './components/common/message/index';
import NavBar from './components/content/navbar/NavBar';
import MainTabBar from './components/content/mainTabBar/MainTabBar';
import Loading from './components/common/loading/Loading';

Vue.use(confirm);
Vue.use(message);

Vue.component('nav-bar', NavBar);
Vue.component('main-tab-bar', MainTabBar);
Vue.component('v-loading', Loading);

Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app');
